package indi.h.security.signature;

public interface Verify {
	/**
	 * 验证签名
	 * 
	 * @param data
	 * @return
	 */
	public boolean verify(byte[] data, byte[] sign);

	/**
	 * 设置验证公钥并初始化验证对象
	 * 
	 * @param key
	 */
	public void putUpPublicKey(byte[] key);
}
